package com.zmn.oms.dubbo.interfaces.zmn.third.yunding;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.dubbo.dto.zmn.third.yunding.YundingOldPartDIO;
import com.zmn.oms.dubbo.dto.zmn.third.yunding.YundingOrderVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * @author xiewenbing
 * @date:2020/09/14 3:58 下午
 * description: 云丁的H5页面接口，用来查询保存云丁订单资料，备件寄回等
 */
@Api(value = "云丁H5接口", tags = {"云丁H5接口"})
public interface YundingRemoteService {

    /**
     * 获取云丁渠道订单的相关信息以及保存的填写资料
     *
     * @param orderId
     * @return
     */
    @ApiOperation(value = "查询云丁订单的资料")
    ResponseDTO<YundingOrderVO> getYundingOrderData(Long orderId);

    /**
     * 保存云丁渠道订单填写的相关资料
     *
     * @param yundingOrderVO
     * @return
     */
    @ApiOperation(value = "保存云丁订单的填写资料")
    ResponseDTO saveYundingOrderData(YundingOrderVO yundingOrderVO);

    /**
     * 同步云丁渠道的旧件回寄信息
     *
     * @param yundingOldPartDIO
     * @return
     */
    @ApiOperation(value = "同步云丁订单的旧件回寄")
    ResponseDTO syncOldPartSendBack(YundingOldPartDIO yundingOldPartDIO);
}
